import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import uView from "uview-ui";
Vue.use(uView);
import './uni.promisify.adaptor'
import store from './stores'
import share from './common/share.js'
import './style/icons/iconfont.css'
import FooterNavigation from './components/footernavigation.vue'
Vue.component('FooterNavigation', FooterNavigation)
Vue.config.productionTip = false
App.mpType = 'app'
Vue.prototype.$store = store
Vue.prototype.$bus = new Vue()
Vue.mixin(share)
const app = new Vue({
	store,
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
import { Toast } from 'vant';
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif